package com.wx.mall.demo.dto;


import com.wx.mall.common.validator.FlagValidator;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DemoDto {
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "状态")
    @FlagValidator(value = {"0","1"}, message = "状态不正确")
    private Integer state;
}
